home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
utils
/
vgapal40.arj
/
VGAPAL.DOC
< prev
next >
Wrap
Text File
|
1993-10-31
|
13KB
|
324 lines
╔══════════════════════════════════════════╗
║ VGAPAL Copyright (c) 1993 Malcolm Drury ║
╚══════════════════════════════════════════╝
Note: this package contains the following files:
VGAPAL.EXE 4.0
SETPAL.COM
MODE3.COM
VGAPAL.DOC
STARTUP.VGA
LOADIN.COM*
REMOVE.COM*
(* copyright Ziff Davis)
VGAPAL.EXE is a utility that allows you to customize the colors
your VGA card uses for text, by individually adjusting their red,
green and blue components (in stages from 0 to 63). The standard
set of VGA colors is equivalent to those used by the EGA card;
VGAPAL allows you to create a TSR (Terminate and Stay Resident)
program called RAINBOW.COM that automatically maintains a text mode
color scheme YOU define. It also allows you to switch off the
"blink" text mode and thereby give you access to 256 color
combinations (i.e. 16 foreground by 16 background). The
accompanying program SETPAL allows you to display these
combinations.
RAINBOW requires only 2k of RAM; if you use DOS 5.0 or a memory
mapping utility such as QEMM, you should be able to load it into
high memory without difficulty.
*** IMPORTANT ***
The author makes no warranty that VGAPAL and RAINBOW will work with
your particular hardware configuration. Further, you use the
programs entirely at your own risk, and the author will not be held
liable for any damage caused to your hardware or software through
use of VGAPAL.EXE or RAINBOW.COM.
Legalities aside, you should not run into difficulties with this
software.
VGAPAL and the other programs in this package are distributed as
"contributory shareware". You do not have to register as a user,
nor are you under any obligation to pay for the use of the
programs. However, in the spirit of shareware, you are requested
to consider making a small donation to the author if you find the
software in this package useful. The suggested contribution is
$10, but less (or more!) would be fine. Should you decide to make
a contribution, please remit to:
Malcolm Drury
11 Adele Crescent
Nepean
ON K2J 2T7
Canada
Thank you.
Please note that at the level of contribution requested, I cannot provide
automatic upgrades or technical support by telephone. I will try to answer
written questions (try leaving a message on the BBS from which you obtained
this version, or to my CIS ID - 70574,3457, or to my INTERNET e-mail address -
drury@gsc.emr.ca). Future upgrades should be available on the BBS from which
you obtained this version. IF YOU HAVE PAID FOR AN EARLIER VERSION - THANKS,
AND YOU ARE NOT EXPECTED TO PAY AGAIN!
The software is supplied on an "as is" basis, and is fully functional - not
crippled in any way. Furthermore, you will never be prompted with "Have you
paid me yet?" notices. I would appreciate receiving your feedback, comments,
bug reports etc. For the latter, please give me as much detail as you can -
system, RAM, monitor type etc.
You are free to distribute this software package provided that you
distribute the ENTIRE package, including this documentation file.
Now to the fun stuff!
**************************************************
VGAPAL
VGAPAL allows you to change all of the 16 colors available to DOS
programs, and to establish color schemes for up to four different
palettes. You can save your palette settings to an ASCII file for
later retrieval, and you can also save the color scheme for palette
1 (the DOS default) to create a small TSR, RAINBOW.COM, that, when
loaded, will maintain your text color schemes under most
circumstances. It will NOT maintain your chosen scheme with ill-
behaved software that resets the DOS default color scheme. (If you
run such software, type mode3 after exiting; this will cause a
mode change that will trigger rainbow.com). RAINBOW knows when it
is loaded, so you can't inadvertently load it more than once, thus
using up precious memory.
Usage: vgapal [filename] [/s]
1. Editing color palettes
Editing is simple.
The up and down arrow keys select the color to be edited.
The r, g and b keys select which component (red, green or blue) of
the selected color to change.
The left and right arrow keys decrease or increase the selected
component (between 0 and 63).
The Ctrl-left arrow and Ctrl-right arrow keys darken or lighten
the selected color by decrementing or incrementing the value of
each component (red, green ,blue). This process stops when one or
more component reaches zero in decrement mode or 63 in increment
mode).
Each time you press a left or right arrow, or Ctrl-left arrow or
Ctrl-right arrow, the new color appears on the display, and the
numeric values of the components are indicated to
the right of the component selection scale. Just try it!
At any time you can also cause the colors to grade uniformly from
color 1 to color 15; just press s. To undo this effect, press u.
You can also toggle blinking for colors 8-15. THE COLORS WILL NOT
BLINK ON SCREEN IN VGAPAL BUT WILL DO SO IF YOU CREATE RAINBOW.COM
TO HAVE BLINK ENABLED. To toggle blink, press t.
2. Saving your chosen scheme
You can exit the program any time without permanently saving your
changes by pressing End.
You can exit the program and save your changes by pressing Esc. If
you do this, you will first be asked if you want to write a new
palette file for later use. Press y or n as required.
Next, you will be asked if you want to save one of the current
palette settings and create RAINBOW.COM. If you select yes (by
pressing y), you will then be given two further choices. You can
select the cursor shape - either block (press b) or normal
DOS-default underline (u). Personally, I prefer the block.
You will also be asked if you want RAINBOW.COM to maintain your
palette for normal VGA text mode (mode 3, 80 column by 25 lines)
only, or for all enhanced modes (e.g. 132 column x 43 lines). If
you choose the latter, you may find that colors in some graphics
modes are also affected. I suggest you choose this setting only to
fine tune the brightness of the default EGA colors (which, on some
hardware configurations, are rather drab). If you run into
unacceptable problems, rerun VGAPAL and choose normal text mode
only (press t).
POWER USERS: if you select all enhanced modes, RAINBOW.COM maintains
your chosen color scheme for all modes below (and
including) mode 85 (hex 55). You can change this through
DEBUG by typing:
debug rainbow.com {Enter}
e 179 xx {Enter}
w {Enter}
q {Enter}
where xx is the mode number, IN HEXADECIMAL NOTATION, above
which you wish RAINBOW.COM to be inactive. You will need
to determine this mode from your SVGA adapter manual.
Finally, you will be asked if you wish to enable the "blinking"
text. If you choose yes (by pressing y), you will have access to
256 color combinations (16 foreground, 16 background). Chooses no
(by pressing n) if you want to see blinking text. NOTE: IF YOU
HAVE SELECTED "all enhanced VGA modes" IN THE SELECTION ABOVE,
CHOOSE "y" TO DISABLE BLINKING, OTHERWISE SOME OF YOUR GRAPHICS
MODES WILL ALSO SHOW THE BLINKING EFFECT.
3. Using a pre-defined palette
On the VGAPAL command line, "filename" is the name of a palette
file containing color settings that you have chosen using VGAPAL
previously. A palette file called STARTUP.VGA is provided with
this package.
Additional color palettes
In addition to the default 16 color palette, you can use VGAPAL to
set three other VGA palettes. Cycle through the available palettes
by pressing p. If your screen goes blank when you do this, it
means that the colors for the selected palette have not yet been
set (or that your system has blown a fuse!). Just press the left
arrow; this will establish a color for the background, and allow
you to read the screen. You can then edit the colors as usual.
5. SETPAL.COM
Usage: setpal n [/b]
n is the color palette you want (1-4, or 5 for grey
scale)
/b (optional) enables blinking text; the default is
blinking text set off.
This program allows you to switch among the four color palettes,
or, alternatively, to establsih a grey scale palette. Note that
some DOS software will switch to default palette 1. Sorry, RAINBOW
won't handle that. Don't you just hate software that won't allow
you to configure your color scheme the way YOU want it?
This program will help power users who want to change color schemes
through DEBUG or another byte editor. (For example, many of PC
Magazine's utilities can be customized). SETPAL shows the full
range of colors available in the current palette, along with their
hex number identifiers.
USING RAINBOW.COM
When you have created a palette scheme you like for palette 1, exit
VGAPAL by pressing Esc and answer y at the prompt "create
RAINBOW.COM?". Copy RAINBOW.COM into your root directory, or any
directory referenced by your PATH statement, then place the
following statements, in sequence, in your AUTOEXEC.BAT file, then
re-boot (press Ctrl-Alt-Del):
rainbow
mode3
MODE3.COM is a small program that resets your system to text mode
3; it is necessary to initialize RAINBOW.COM.
Unlike some TSR programs, RAINBOW.COM contains no "nasty surprises"
such as undocumented or barely legal calls to the system. If you
should experience problems in which RAINBOW seems to conflict with
other TSR programs, try removing them one by one; if removing one
remedies the situation, that is probably the one causing rhe
problems. You could then try rearranging the order in which you
load your TSRs. If your problem persists, and you can't live
without the TSRs you were using before you tried RAINBOW, all I can
say is sorry, but it's tough out there in TSR-land.
RAINBOW may not work with some graphics programs, particularly shareware
games. If you run into problems, you might try using the routines
LOADIN.COM and REMOVE.COM. These are from PC Magazine (loadin was
originally called install). They enable you to load and remove TSRs
from memory.
To use:
loadin rainbow
rainbow
mode3
To remove rainbow as a TSR:
remove
{Enter}
LOADIN AND REMOVE ARE DISTRIBUTED FREE OF CHARGE, COURTESY OF ZIFF DAVIS
PUBLISHING. YOU MAY PASS COPIES TO OTHERS BUT YOU MUST NOT CHARGE FOR THEM.
SETTING PALETTES WITHOUT RAINBOW
If memory is a problem, you can set your color scheme, as saved in
an ASCII file format, by running VGAPAL as follows:
VGAPAL filename /s
The /s switch causes VGAPAL to load the palette file and then exit
without showing the edit screen. Please note, however, that your
color scheme will NOT be maintained following a mode change (e.g.
switching back to text mode from graphics mode). You would have to
run VGAPAL as shown again to re-establish your color scheme. As
RAINBOW only uses about 2k of RAM, and is a simple TSR that has no
"hot key" functions or screen display functions that eat memory,
its memory requirement should not be a problem.
I hope you find this package useful.
***************************************************************************
Look for the following shareware on this BBS
DSPACE40.ZIP - gas gauge display of all or selected hard drives, including
remove drives; plus SMEM - detailed gas gauge display of
one drive plus information on installed and available RAM,
EMS, XMS memory. Gas gauge display is of following form:
E ███████████████║║║║║║║║║║║║║║║║║║║ F
and numerical data are also given.
DDIRV73.ZIP - double-column non-scrolling directory display that
highlights new files, flags system, hidden and read-only files,
and optionally shows the "dead" space on disk associated with
each file. Full on-scren sort/re-sort. You can scroll up and
down in the file list.
ADR50.ZIP - address and telephone number filer, and label maker. Suitable
for personal databases or for small clubs etc. Ideal for finding
telephone numbers quickly.
VIEW71.ZIP - file viewer for WordPerfect 5.0 and above, ASCII and Word (DOS
and Windows 1/2); includes text search, printing full or partial
file, etc.
IF YOU DO NOT FIND ANY OF THESE, LEAVE ME A MESSAGE!
CIS 70574,3457
INTERNET drury@gsc.emr.ca
25 January 1993